import { install } from '../helpers';
import Text from './Text.vue';

// 组件列表
const TuiTextComponents = {
  'tui-text': Text
};

// 安装函数
const textInstall = (app: any) => {
  install(app, TuiTextComponents);
};

// 导出组件和安装函数
export { Text, textInstall, TuiTextComponents };

// 导出类型
export type { TuiTextProps } from './types';

export default {
  textInstall,
  ...TuiTextComponents
};